package com.ruoyi.project.modules.virtualUsageParamSource.domain;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;

import java.util.List;

/**
 * 虚拟用况入参来源对象 t_virtual_usage_param_source
 * 
 * @author smallrain
 * @date 2022-03-31
 */
public class VirtualUsageParamSource extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 虚拟用况入参来源ID */
    private Long virtualUsageParamSourceId;

    // 1-入参 2-出参
    private String isInParam = "1";

    /** 对象ID */
    @Excel(name = "对象ID")
    private Long objectId;

    private Long interfaceId;

    private List<Long> objectIds;
    private List<Long> sourceObjectIds;

    /** 类型（1-接口下数据集及字段表，2-数据集下面字段关系） */
    @Excel(name = "类型", readConverterExp = "1=-接口下数据集及字段表，2-数据集下面字段关系")
    private String type;

    /** 来源对象ID */
    @Excel(name = "来源对象ID")
    private Long sourceobjectId;

    private String sourceType;

    private Long sourceProcessBranchId;

    private Long sourceInterfaceId;

    private String sourceInterfaceType;

    private Long sourceFieldId;

    /** 流程分支ID   （非流程分支，该字段为空） */
    @Excel(name = "流程分支ID   ", readConverterExp = "非=流程分支，该字段为空")
    private Long processBranchId;

    /** 接口ID */
    @Excel(name = "接口ID")
    private Long branchInterfaceId;

    private Long virtualUsageGroupId;

    private List<String> fieldId;

    public List<Long> getSourceObjectIds() {
        return sourceObjectIds;
    }

    public void setSourceObjectIds(List<Long> sourceObjectIds) {
        this.sourceObjectIds = sourceObjectIds;
    }

    public Long getVirtualUsageGroupId() {
        return virtualUsageGroupId;
    }

    public void setVirtualUsageGroupId(Long virtualUsageGroupId) {
        this.virtualUsageGroupId = virtualUsageGroupId;
    }

    public List<String> getFieldId() {
        return fieldId;
    }

    public void setFieldId(List<String> fieldId) {
        this.fieldId = fieldId;
    }

    public String getIsInParam() {
        return isInParam;
    }

    public void setIsInParam(String isInParam) {
        this.isInParam = isInParam;
    }

    public String getSourceType() {
        return sourceType;
    }

    public void setSourceType(String sourceType) {
        this.sourceType = sourceType;
    }

    public Long getSourceProcessBranchId() {
        return sourceProcessBranchId;
    }

    public void setSourceProcessBranchId(Long sourceProcessBranchId) {
        this.sourceProcessBranchId = sourceProcessBranchId;
    }

    public Long getInterfaceId() {
        return interfaceId;
    }

    public void setInterfaceId(Long interfaceId) {
        this.interfaceId = interfaceId;
    }

    public Long getSourceFieldId() {
        return sourceFieldId;
    }

    public void setSourceFieldId(Long sourceFieldId) {
        this.sourceFieldId = sourceFieldId;
    }

    public Long getSourceInterfaceId() {
        return sourceInterfaceId;
    }

    public void setSourceInterfaceId(Long sourceInterfaceId) {
        this.sourceInterfaceId = sourceInterfaceId;
    }

    public String getSourceInterfaceType() {
        return sourceInterfaceType;
    }

    public void setSourceInterfaceType(String sourceInterfaceType) {
        this.sourceInterfaceType = sourceInterfaceType;
    }

    public List<Long> getObjectIds() {
        return objectIds;
    }

    public void setObjectIds(List<Long> objectIds) {
        this.objectIds = objectIds;
    }

    public void setVirtualUsageParamSourceId(Long virtualUsageParamSourceId)
    {
        this.virtualUsageParamSourceId = virtualUsageParamSourceId;
    }

    public Long getVirtualUsageParamSourceId() 
    {
        return virtualUsageParamSourceId;
    }
    public void setObjectId(Long objectId) 
    {
        this.objectId = objectId;
    }

    public Long getObjectId() 
    {
        return objectId;
    }
    public void setType(String type) 
    {
        this.type = type;
    }

    public String getType() 
    {
        return type;
    }
    public void setSourceobjectId(Long sourceobjectId) 
    {
        this.sourceobjectId = sourceobjectId;
    }

    public Long getSourceobjectId() 
    {
        return sourceobjectId;
    }
    public void setProcessBranchId(Long processBranchId) 
    {
        this.processBranchId = processBranchId;
    }

    public Long getProcessBranchId() 
    {
        return processBranchId;
    }
    public void setBranchInterfaceId(Long branchInterfaceId) 
    {
        this.branchInterfaceId = branchInterfaceId;
    }

    public Long getBranchInterfaceId() 
    {
        return branchInterfaceId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("virtualUsageParamSourceId", getVirtualUsageParamSourceId())
            .append("objectId", getObjectId())
            .append("type", getType())
            .append("sourceobjectId", getSourceobjectId())
            .append("processBranchId", getProcessBranchId())
            .append("branchInterfaceId", getBranchInterfaceId())
            .toString();
    }
}
